import request from "@/utils/requestBase";

/**
 * @description 首页办事指南
 */
export function workGuideOfHOme(data: any) {
  return request.get({
    url: "/affairs-guide/listPage",
    data,
  });
}

/**
 * @description 办事指南列表
 */
export function listWorkGuideGroup(data: any) {
  return request.get({
    url: "/affairs-guide/listGroup",
    data,
  });
}

/**
 * @description 办事指南详情
 */ 
export function detailWorkGuide(data: any) {
  return request.get({
    url: "/affairs-guide/selectOne",
    data,
  });
}

/**
 * @description 办事指南增加点击量
 */
export function workGuideAddView(data: any) {
  return request.put({
    url: "/affairs-guide/clickHandle",
    data,
  });
}

/**
 * @description 办事指南搜索
 */ 
export function searchWorkGuide(data: any) {
  return request.get({
    url: "/affairs-guide/search",
    data,
  });
}
